import Vue from 'vue'
import Vuex from 'vuex'
// import * as actions from './actions'
import p from './modules/public'
const debug = process.env.NODE_ENV !== 'production'
import createLogger from 'vuex/dist/logger'

Vue.use(Vuex)
export default new Vuex.Store({
  ...p,
  modules: {},
  strict: debug,
  plugins: debug ? [createLogger()] : []
})
